<html>
<head>
<title> Setting Up SpamAssassin Spam Filter </title>
<meta name="Keywords" content="" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="stylesheet.css"/>
<script src="locate.js"></script>
<link href="prettify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="prettify.js"></script>
</head>
<script src="highlight.js"></script>
<body bgcolor="#FFFFFF" text="#000000" link="#0000A0" alink="#008000" vlink="#FF0000" onLoad="FindCorrectTOCPage(); prettyPrint()">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td>
<p class="pagenavigation"><a href="16848.htm" target="_self"><img src="38976.gif" alt="Previous page" height="16" width="16" vspace="0" hspace="1" align="top" border="0"> Previous page</a></p></td>
<td>
<p class="pagenavigation"><a href="56325.htm" target="_self"><img src="38977.gif" alt="Next page" height="16" width="16" vspace="0" hspace="1" align="top" border="0"> Next page</a></p></td>
<td>
<p class="pagenavigation"><a href="toc4151860.htm" target="TOC"><img src="38970.gif" alt="Locate page" height="16" width="16" vspace="0" hspace="1" align="top" border="0"> Locate page</a></p></td>
<td>
<p class="pagenavigation"><a href="toc4151860.htm" target="TOC"><a class="" title="" href="javascript:print();" target="_self"><img src="39072.gif" alt="Print this page" height="16" width="16" vspace="0" hspace="1" align="top" border="0"></a></a></p></td>
</tr>
</table>
<h4 class="heading4">Setting Up SpamAssassin Spam Filter</h4>
<p class="procedureheading">To switch on SpamAssassin spam filter:</p>
<ol class="procedurelistnumber"><li class="procedurelistnumber">Click the <strong class="specialbold">Server</strong> shortcut in the navigation pane.</li><li class="procedurelistnumber">Click the <strong class="specialbold">Spam Filter</strong> icon in the <strong class="specialbold">Services</strong> group.</li><li class="procedurelistnumber">To let your users set their own spam filtering preferences on a per-mailbox basis, select the <strong class="specialbold">Apply individual settings to spam filtering</strong> check box.</li><li class="procedurelistnumber">If you wish to adjust the amount of system resources the spam filter should use, type the desired value from 1 to 5 into the <strong class="specialbold">Maximum number of worker spamd processes to run (1-5)</strong> box (1 is the lowest load, and 5 is the highest). We recommend that you use the default value.</li><li class="procedurelistnumber">If you wish to adjust the spam filter's sensitivity, type the desired value in the <strong class="specialbold">The score that a message must receive to qualify as spam</strong> box.<p class="listcontinue">SpamAssassin performs a number of different tests on contents and subject line of each message. As a result, each message scores a number of points. The higher the number, the more likely a message is spam. For example, a message containing the text string &quot;BUY VIAGRA AT LOW PRICE!!!&quot; in Subject line and message body scores 8.3 points. By default, the filter sensitivity is set so that all messages that score 7 or more points are classified as spam.</p>
<ul class="listbullet2"><li class="listbullet2">When your users receive lots of spam messages with the current setting, to make filter more sensitive, try setting a lesser value in the <strong class="specialbold">The score that a message must receive to qualify as spam</strong> box; for example, 6. </li><li class="listbullet2">When your users are missing e-mails because your spam filter thinks they are junk, try reducing filter sensitivity by setting a higher value in the <strong class="specialbold">The score that a message must receive to qualify as spam</strong> box.</li></ul></li><li class="procedurelistnumber">Specify how to mark messages recognized as spam.<p class="listcontinue">At the server level, you cannot set the server-wide spam filter to automatically delete spam: you can do it only on a per-mailbox basis. So, for the server-wide policy, you can choose only marking messages as spam: &quot;X-Spam-Flag: YES&quot; and &quot;X-Spam-Status: Yes&quot; headers are added to the message source by default, and if you want, the spam filter will additionally include a specific text string to the beginning of Subject line. To include a desired combination of symbols or words to the message subject, type it into the <strong class="specialbold">Add the following text to the beginning of subject of each message recognized as spam</strong> box. If you do not want the spam filter to modify message subject, leave this box blank. If you want to include into the subject line the number of points that messages score, type _SCORE_ in this box.</p>
</li><li class="procedurelistnumber">If you do not want your users to receive e-mail from specific domains or individual senders, click the <strong class="specialbold">Black List</strong> tab, and then add the respective entries to the spam filter's black list:<ul class="listbullet2"><li class="listbullet2">To add entries to the black list, click <strong class="specialbold">Add Addresses</strong>. If you have a list of entries stored in a file, click <strong class="specialbold">Browse</strong> to specify it, and then click <strong class="specialbold">OK</strong>. Otherwise, select the <strong class="specialbold">From List</strong> option, and type the e-mail addresses into the <strong class="specialbold">E-mail addresses</strong> box. Place each address in one row, or separate addresses with a coma, a colon, or a white space. You can use an asterisk (*) as a substitute for a number of letters, and question mark (?) as a substitute for a single letter. For example: address@spammers.net, user?@spammers.net, *@spammers.net. Specifying *@spammers.net will block the entire mail domain spammers.net. To save the entries you added, click <strong class="specialbold">OK</strong>, then confirm adding, and click <strong class="specialbold">OK</strong> again.</li><li class="listbullet2">To remove entries from the black list, under the <strong class="specialbold">Black List</strong> tab, select the entries and click <strong class="specialbold">Remove Selected</strong>. Confirm removal and click <strong class="specialbold">OK</strong>. </li></ul></li><li class="procedurelistnumber">If you want to be sure that you and your users will not miss e-mail from specific senders, click the <strong class="specialbold">White List</strong> tab, and then add e-mail addresses or entire domains to the spam filter's white list:<ul class="listbullet2"><li class="listbullet2">To add entries to the white list, click <strong class="specialbold">Add Addresses</strong>. If you have a list of entries stored in a file, click <strong class="specialbold">Browse</strong> to specify it, and then click <strong class="specialbold">OK</strong>. Otherwise, select the <strong class="specialbold">From List</strong> option, and type the e-mail addresses into the <strong class="specialbold">E-mail addresses</strong> box. Place each address in one row, or separate addresses with a coma, a colon, or a white space. You can use an asterisk (*) as a substitute for a number of letters, and question mark (?) as a substitute for a single letter. For example: address@mycompany.com, user?@mycompany.com, *@mycompany.com. Specifying *@mycompany.com will add to the white list all e-mail addresses that are under the mycompany.com mail domain. To save the entries you added, click <strong class="specialbold">OK</strong>, then confirm adding, and click <strong class="specialbold">OK</strong> again.</li><li class="listbullet2">To remove entries from the white list, under the <strong class="specialbold">White List</strong> tab, select the entries and click <strong class="specialbold">Remove Selected</strong>. Confirm removal and click <strong class="specialbold">OK</strong>.</li></ul></li><li class="procedurelistnumber">Once finished with setting up the spam filter, click the <strong class="specialbold">Switch On</strong> icon, and then click <strong class="specialbold">OK</strong>.<p class="listcontinue">Now all the incoming mail will be filtered on the server side. By default, spam filter does not delete spam mail, it only adds the &quot;X-Spam-Flag: YES&quot; and &quot;X-Spam-Status: Yes&quot; headers to the message, and &quot;*****SPAM*****&quot; text string to the beginning of Subject line of each message recognized as spam.</p>
<p class="listcontinue">If you have enabled the <strong class="specialbold">Apply individual settings to spam filtering</strong> option, then your users will be able to set their spam filters so as to automatically delete junk mail. They will also be able to set up their personal black and white lists of correspondents that will override the server settings, and teach the spam filter on a per-mailbox basis.</p>
</li></ol><p class="bodytext"></p>
<p class="bodytext">If you wish to adjust spam filtering settings for a specific mailbox, proceed to the Protecting Mailboxes From Spam section.</p>


</body>
<script>highlightTOC()</script>
</html>

